import { request } from './request'

export function searchkey (q) {
  return request({
    method: 'get',
    url: '/v1_0/suggestion',
    params: {
      q
    }
  })
}

export function getsearchlist (q, page) {
  return request({
    method: 'get',
    url: '/v1_0/search',
    params: {
      q,
      page
    }
  })
}
